package com.zoshine.zzg.pojo;

import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.InvoiceStatus;

import java.util.List;

/**
 * 发货单
 *
 * @author 田沛凌
 * @time 2017/7/24 11:07
 */
public class Invoice extends Pagination{

    private static final long serialVersionUID = 6040722315400371336L;

    /**监所账号*/
    private Long accountPrisons;

    /**供应商账号*/
    private Long accountSupplier;

    /**供应商名称*/
    private String supplierName;

    /**供应商名称*/
    private String prisonsName;

    /**商品总数量*/
    private Integer totalCount;

    /**总销售价*/
    private Integer totalSell;

    /**总结算价*/
    private Integer totalSettlement;

    /**发货单状态*/
    private Integer status;
    /**结算ID*/
    private Long settlementId;
    /**商品名称和数量*/
    List<IdAndCount> idAndCounts;
    public String getStatusStr(){
        return InvoiceStatus.getDesc(status);
    }
    public Long getAccountPrisons() {
        return accountPrisons;
    }

    public void setAccountPrisons(Long accountPrisons) {
        this.accountPrisons = accountPrisons;
    }

    public Long getAccountSupplier() {
        return accountSupplier;
    }

    public void setAccountSupplier(Long accountSupplier) {
        this.accountSupplier = accountSupplier;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getPrisonsName() {
        return prisonsName;
    }

    public void setPrisonsName(String prisonsName) {
        this.prisonsName = prisonsName;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Integer getTotalSell() {
        return totalSell;
    }

    public void setTotalSell(Integer totalSell) {
        this.totalSell = totalSell;
    }

    public Integer getTotalSettlement() {
        return totalSettlement;
    }

    public void setTotalSettlement(Integer totalSettlement) {
        this.totalSettlement = totalSettlement;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<IdAndCount> getIdAndCounts() {
        return idAndCounts;
    }

    public void setIdAndCounts(List<IdAndCount> idAndCounts) {
        this.idAndCounts = idAndCounts;
    }

    public Long getSettlementId() {
        return settlementId;
    }

    public void setSettlementId(Long settlementId) {
        this.settlementId = settlementId;
    }
}